const router = require("koa-router")();
const controllers = require("../controllers");
// 只写文件名默认会读取文件里的index.js
router.get("/", controllers.index);
router.post("/doLogin",controllers.doLogin);
router.get("/product",controllers.product);
router.get("/login",controllers.login);
router.get("/loginOut",controllers.loginOut);
module.exports = router;